Page({
  data:{
    list:{}
  },
 
  onReady:function(){
   wx.setNavigationBarTitle({
       title:this.title
   })
  },
   onLoad:function(options){
       var that = this
       this.title = options.title
       wx.request({
           url:'http://news-at.zhihu.com/api/4/theme/' + options.id,
           headers:{
               'Content-Type':'application/json'
           },
           success (res) {
               that.setData({
                   list:res.data.stories
               })
               console.log(res.data)
           }
       })
  }
})